﻿﻿@inherits RenderViewPage
@using System.Web.Mvc.Html;
@using Umbraco.Cms.Web;
@using PBDesk.com.Extension.UmbHelper;
@{
	Layout = "_PBDeskLayout.cshtml";
	string moreArticles = string.Empty;
	string linkFormat = "<a href=\"{0}\" title=\"Goto {1} Articles\" >{2}</a>";
	foreach (var page in MyHelper.GetHomeNode(DynamicModel).ArticlesGatewayPages)
	{
		if (page.Id != DynamicModel.Id)
		{ 
			if (moreArticles.Length > 0)
			{
				moreArticles += "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
			}
			moreArticles += String.Format(linkFormat, page.Url, page.Name, page.Name);
		}
	}
}

@section head
{

}

@section TopBanner
{

}

@section BodyTop
{
  @Umbraco.RenderMacro("breadCrumb")
}

@section BodyBottom
{

}

@section GrayBanner
{

}

@section BottomBanner
{

}
<div id="art-content-wrapper" style="background:none">
	<div id="art-main-wrapper">
		<div id="artmain">
			<div id="contents">
				<div id="left">
					@Html.Partial("Common/ArtOfDay_v")	
					<h1 class="servicetitle">Featured Articles</h1>
					<div id="portfolio">
						<br />
						<div class="site">
							<p><b>Category1</b><br>Category1</p>
							<div class="layer">
								<span><a href="#" target="_blank"><img src="http://cdn.pbdesk.com/images/social/rss_blue.png" alt="Read Article" height="33" width="33"></a></span>
							</div>
							<div class="portfolio_image">
								<b>Today's Article:</b><br />
								<br />
								<br />
								<p></p>
								<p></p>
								<p></p>
							</div>
						</div>
						<br/>
					</div>
					<br />
					@Html.Partial("Common/MoreArticlesByCat_c")
					@Html.Partial("Common/MoreArticlesByTag_c")
				</div>
			</div>
		</div>
		<div class="clear"></div>
	</div><!-- end art-main-wrapper -->
	<div id="art-sidebar-wrapper">
		<div id="artsidebar" class="artsidebar">
				   @Umbraco.RenderMacro("sidebarMoreArticles")
				   @Umbraco.RenderMacro("sidebarMoreTechNews")
				   
			<div class="artwidget">
				<h2 class="art-sidebar-header">Related Links</h2>
				<div class="art-widget-content">
					<div>
						@Umbraco.Field("sidebarCallout", removeParagraphTags: true)
					</div>
				</div>
			</div>
			<div class="artwidget">
				<h2 class="art-sidebar-header">News Updates</h2>
				<div class="art-widget-content">
					<div>
						<a href="/technews/scitech/">Sci &amp; Tech</a>   <a href="/technews/csharp/">C#</a>   <a href="/technews/aspnet/">ASP.Net</a>   <a href="/technews/silverlight/">Silverlight</a>   <a href="/technews/vbnet/">VB.Net</a>   <a href="/technews/msnet/">Microsoft.Net</a>   <a href="/technews/umbraco/">Umbraco</a>   
					</div>
				</div>
			</div>
			<div class="artwidget">
				<h2 class="art-sidebar-header">More Articles</h2>
				<div class="art-widget-content">
					<div>
						<a href="/articles/csharp/">C#</a>   <a href="/articles/aspnet/">ASP.Net</a>   <a href="/articles/umbraco/">Umbraco</a>   <a href="/articles/general/">General</a>   <a href="/articles/toolsutils/">Tools &amp; Utils</a>   
					</div>
				</div>
			</div>
		</div><!-- end art-sidebar-->
	</div><!-- end art-sidebar-wrapper -->
	<div class="clear">&nbsp;</div>
</div>